interface ITestObj {
    name: string;
    age: number;
}

export function testFn(name: string, age: number): ITestObj {
    return {
        name,
        age
    };
}

export const testObj: ITestObj = {
    name: '张三',
    age: 18
};
